
import 'package:flutter_easyloading/flutter_easyloading.dart';

import '../api/api_path.dart';
import '../api/network_util.dart';

///一些公共接口
class CommonService{

  ///发送验证码
  static Future<bool> sendEmailCode({required String email})async{
    final result = await NetworkUtil.post(path: ApiPath.sendEmailPath,data: {"email":email});
    return result.success;
  }

}